<template>
	<Son1 :msg="message" class="abc"
	 @changMsgEvent="value => message = value"></Son1>
	<hr/>
	<Son1 :msg="message" class="abc"
	 @changMsgEvent="fun"></Son1>
	<!-- <p>{{ message }}</p> -->
</template>

<script setup>
import Son1 from './components/Son1.vue'
import { ref } from 'vue'
const message = ref('Hello World')
const fun = value => {
	message.value = value
}
</script>

<style scoped>
	
</style>